I am new to developing native Apple apps and must familiarize myself with the Apple development frameworks. I am starting to create a personal document-based Apple App that can run on iOS, iPadOS, and macOS. The document will contain the following: HTML, PDF, images, video, and audio files. So, I think the document format could be HTML.
I need the capability to read, edit (WYSIWYG Editor), save, and share documents with other users using the same app. The data is stored in the user's device and iCloud. I need guidance about what Apple framework I should use to edit the documents using WYSIWYG editing principles.
I would really appreciate any recommendation you can provide. Many thanks for considering my request. Thank you so much for your attention and participation.
Your project idea sounds overwhelming for a first project. I recommend starting with a simpler project before attempting this project. If you really want to do this project right now, start with one smaller part, such as editing HTML, and moving on to things like WYSIWYG editing, video, audio, and sharing documents with users later.
Some technologies you need to learn to make this app include the following:
- SwiftUI for the user interface because you want the app to run on iOS and Mac.
- PDFKit for showing PDF files.
- TextKit, and the
NSTextView
andUITextView
classes. SwiftUI's text editor is very limited and does not support WYSIWYG editing. You would have to subclassNSTextView
andUITextView
to do WYSIWYG editing. - You might need to study AVFoundation for the video and audio files.
You might find the following list of frameworks for text editing helpful: